package Interpreter_Pattern.Language;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        String num="3 * 2 / 4  % 2";
        InstructionHandler instructionHandler=new InstructionHandler();
        instructionHandler.handle(num);
        System.out.println("等式为"+num+"\n结果"+instructionHandler.play());
    }
}
